package com.cloud.lan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloud.lan.api.dto.req.LanActivityReq;
import com.cloud.lan.entity.base.BaseResponse;
import com.cloud.lan.entity.model.dataobject.LanActivityDO;

/**
 * <p>
 * 兑换码活动信息表 服务类
 * </p>
 *
 * @author xyqierkang@163.com
 * @since 2021-12-23
 */
public interface ILanActivityService extends IService<LanActivityDO> {

    /**
     * 查询兑换券信息
     * @author ErKang
     * @return java.util.List<com.cloud.lan.api.dto.resp.LanActivityResp>
     * 2021/12/23 00:30
     */
    BaseResponse<Object> getActivityList(String token,String lng, String lat);

    /**
     * 查询用户兑换券
     * @author ErKang
     * @param token
     * @return java.util.List<com.cloud.lan.api.dto.resp.LanActivityResp>
     * 2021/12/23 00:31
     */
    BaseResponse<Object> getActivityUsers(String token, Integer status);

    /**
     * 用户领取兑换券
     * @author ErKang
     * @param token
     * @return void
     * 2021/12/23 00:33
     */
    BaseResponse<Object> userReceive(String token, LanActivityReq req);

    /**
     * 用户使用-核销兑换券
     * @author ErKang
     * @param token，activityId
     * @return void
     * 2021/12/23 00:35
     */
    BaseResponse<Object> userApply(String token, LanActivityReq req);
}
